package com.qiche.service;

import java.util.List;

import com.qiche.aspect.Result;
import com.qiche.dto.CardLinkDto;
import com.qiche.model.CardLink;
import com.qiche.model.GiftPackage;

/**
 * Created by Linzw on 2018/01/24.
 */
public interface CardLinkService extends IService<CardLink>{
    CardLink selectById(Long id);
	List<CardLink> selectByMemberId(Long memberId);
	List<CardLink> selectByPolicyId(Long policyId);
	List<CardLink> selectByMemberAndPolicy(Long memberId, Long policyId);
	List<CardLink> selectByPack(Long packId);
	Result<GiftPackage> setGiftLinks(CardLinkDto cardLinkDto);

}
